-- GENERATED SPELL FOR [Bael'dun Appraiser] --


function spell0_2990(pUnit, Event) --@Lesser Heal,Heal--
pUnit:FullCastSpellOnTarget(2052,pUnit)
pUnit:RegisterEvent('Sorts_2990', 2000, 1)
end

function Sorts_2990(pUnit, Event)
local choix_sorts_2990 = math.random(0, 0)
if choix_sorts_2990 == 0 then
pUnit:RegisterEvent('spell0_2990', 1, 1)
end
end

function mob2990_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2990', math.random(1500, 3000), 1)
end

function mob2990_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2990_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2990_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2990, 1, 'mob2990_Action')
RegisterUnitEvent(2990, 2, 'mob2990_Leave')
RegisterUnitEvent(2990, 3, 'mob2990_Kill')
RegisterUnitEvent(2990, 4, 'mob2990_Die')
